package com.gome.axwl.aoc.entity.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ContractPo {
    /**
     * 主键Id
     */
    private Integer id;

    /**
     * 申请单号id
     */
    private Integer applyInfoId;

    /**
     * 合同所属模板编号
     */
    private String templateNo;

    /**
     * 合同名称
     */
    private String contractName;

    /**
     * 合同编码。
     */
    private String contractNo;

    /**
     * 签署人
     */
    private String signPerson;

    /**
     * 合同状态 1-待运营审核 2-待服务商审核 3-已生效
     */
    private Integer status;

    /**
     * 合同所属服务商名称
     */
    private String carrierName;

    /**
     * 承运商电话
     */
    private String carrierPhone;
    /**
     * 审核状态 1-审核通过  2-审核未通过
     */
    private Integer auditStatus;
    /**
     * 审核未通过原因
     */
    private String unpassReason;
    /**审核人姓名*/
    private String auditName;
    /**服务商法人名*/
    private String corporationName;
    /**财务审核人数字证书编码*/
    private String auditCode;
    /**承运商数字证书编码*/
    private String carrierCode;

    /**
     * 发起时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 结束时间
     *
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApplyInfoId() {
        return applyInfoId;
    }

    public void setApplyInfoId(Integer applyInfoId) {
        this.applyInfoId = applyInfoId;
    }

    public String getTemplateNo() {
        return templateNo;
    }

    public void setTemplateNo(String templateNo) {
        this.templateNo = templateNo == null ? null : templateNo.trim();
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName == null ? null : contractName.trim();
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo == null ? null : contractNo.trim();
    }

    public String getSignPerson() {
        return signPerson;
    }

    public void setSignPerson(String signPerson) {
        this.signPerson = signPerson == null ? null : signPerson.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getCarrierName() {
        return carrierName;
    }

    public void setCarrierName(String carrierName) {
        this.carrierName = carrierName == null ? null : carrierName.trim();
    }

    public String getCarrierPhone() {
        return carrierPhone;
    }

    public void setCarrierPhone(String carrierPhone) {
        this.carrierPhone = carrierPhone == null ? null : carrierPhone.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getUnpassReason() {
        return unpassReason;
    }

    public void setUnpassReason(String unpassReason) {
        this.unpassReason = unpassReason;
    }

    public String getAuditName() {
        return auditName;
    }

    public void setAuditName(String auditName) {
        this.auditName = auditName;
    }

    public String getCorporationName() {
        return corporationName;
    }

    public void setCorporationName(String corporationName) {
        this.corporationName = corporationName;
    }

    public String getAuditCode() {
        return auditCode;
    }

    public void setAuditCode(String auditCode) {
        this.auditCode = auditCode;
    }

    public String getCarrierCode() {
        return carrierCode;
    }

    public void setCarrierCode(String carrierCode) {
        this.carrierCode = carrierCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ContractPo{");
        sb.append("id=").append(id);
        sb.append(", applyInfoId=").append(applyInfoId);
        sb.append(", templateNo='").append(templateNo).append('\'');
        sb.append(", contractName='").append(contractName).append('\'');
        sb.append(", contractNo='").append(contractNo).append('\'');
        sb.append(", signPerson='").append(signPerson).append('\'');
        sb.append(", status=").append(status);
        sb.append(", carrierName='").append(carrierName).append('\'');
        sb.append(", carrierPhone='").append(carrierPhone).append('\'');
        sb.append(", auditStatus=").append(auditStatus);
        sb.append(", unpassReason='").append(unpassReason).append('\'');
        sb.append(", auditName='").append(auditName).append('\'');
        sb.append(", corporationName='").append(corporationName).append('\'');
        sb.append(", auditCode='").append(auditCode).append('\'');
        sb.append(", carrierCode='").append(carrierCode).append('\'');
        sb.append(", createTime=").append(createTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append('}');
        return sb.toString();
    }
}